package com.llkj.qingnianguoxue.util;

import org.json.JSONException;
import org.json.JSONObject;

public class JsonParseUtil {
    public static String GsonToBean(String gsonString, String key){
        try {
            JSONObject jsonObject = new JSONObject(gsonString);
            String data = jsonObject.getString(key);
            return data;
        }catch (JSONException e){}

        return null;
    }
}
